<include file="Public/header" />
<div class="page">
  <div class="fixed-bar">
    <div class="item-title">
      <h3>{$title}</h3>
      <ul class="tab-base">
        <li><a href="JavaScript:void(0);" class="current"><span>管理</span></a></li>
      </ul>
    </div>
  </div>
  <div class="fixed-empty"></div>
  <table class="table tb-type2" id="prompt">
    <tbody>
      <tr class="space odd">
        <th colspan="12"><div class="title">
            <h5>操作提示</h5>
            <span class="arrow"></span></div></th>
      </tr>
      <tr>
        <td><ul>
            <li>用于查看访客留言信息!</li>
          </ul></td>
      </tr>
    </tbody>
  </table>
  <form method="post" id="form_article">
    <table class="table tb-type2">
      <thead>
        <tr class="thead">
          <th class="w24"></th>
          <th>姓名</th>
          <th class="align-center">邮箱</th>
          <th class="align-center">电话</th>
          <th class="align-center">目的地</th>
          <th class="align-center">预算</th>
          <th class="align-center">添加时间</th>
          <th class="align-center">操作</th>
        </tr>
      </thead>
      <tbody>
        <notempty name="list">
        <volist name="list" id="v">
        <tr class="hover">
          <td><input type="checkbox" name="del_id[]" value="{$v['id']}" class="checkitem"></td>
          <td>{$v['name']}</td>
          <td class="align-center">{$v['email']}</td>
          <td class="align-center">{$v['mobile']}</td>
          <td class="align-center">{$v['destination']}</td>
          <td class="align-center">¥{$v['budget']}</td>
          <td class="nowrap align-center">{$v['addtime']|date='Y-m-d H:i:s',###}</td>
          <td class="align-center">
          	<a href="{:U('detail',array('id'=>$v['id']))}">详情</a>
          </td>
        </tr>
        </volist>
        <else/>
        <tr class="no_data">
          <td colspan="10">暂时无记录</td>
        </tr>
       </notempty>
      </tbody>
      <tfoot>
        <notempty name="list">
        <tr class="tfoot">
          <td><input type="checkbox" class="checkall" id="checkallBottom"></td>
          <td colspan="16"><label for="checkallBottom">全选</label>
            &nbsp;&nbsp;<a href="JavaScript:void(0);" class="btn" onclick="if(confirm('你确定要删除？')){$('#form_article').submit();}"><span>删除</span></a>
            <div class="pagination">{$show_page}</div></td>
        </tr>
        </notempty>
      </tfoot>
    </table>
  </form>
</div>
<include file="Public/footer" />